const _ = require('lodash')

const arr = [1, 2, 3, 4]
console.log('before remove, arr:', arr)
const evens = _.remove(arr, item => item % 2 === 0)
console.log('after remove, arr:', arr)
console.log('evens:', evens)
